from app.enums.base import BaseTupleEnum


class DataScopeEnum(BaseTupleEnum):
    """数据范围枚举, value 越小，数据权限范围越大"""

    ALL = (1, "所有数据")
    DEPT_AND_SUB = (2, "部门及子部门数据")
    DEPT = (3, "本部门数据")
    SELF = (4, "本人数据")
